package ar.edu.itba.it.cg.grupo01.state;

import ar.edu.itba.it.cg.grupo01.vehicle.Hud;

import com.jme.input.InputHandler;
import com.jme.scene.Node;
import com.jme.util.Timer;

public abstract class MyGameState implements GameStateInterface {

    protected GameStateType state;
    protected Node root;
    protected InputHandler input;
	protected Hud hud;

    public MyGameState(GameStateType state, Node rootNode, InputHandler input,Hud hud) {

        this.state = state;
        this.root = rootNode;
        this.input = input;
        this.hud=hud;

    }

    public GameStateType update(Timer timer) {

        return this.state;
    }

    public GameStateType getType() {

        return this.state;
    }
}
